﻿@{
    ViewBag.Title = "Tooltip";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<h2>Tooltip</h2>

<p><input id="txtTooltip" type="text" class="inputbox" data-title="This is a tooltip on an input box" /></p>
<p><a href="http://www.google.com/" target="_blank" class="hasTooltip" title="External link to http://www.google.com/">Google.com</a></p>
<button id="btnTooltip" data-title="请把手拿开">Button</button>

<script src="/JsLib/zeus/plugin/zeus.plugin.tooltip.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('#txtTooltip').tooltip();
        $('#btnTooltip').tooltip();
    });
</script>